import React, { useEffect, useState } from "react";
import {
  View,
  Image,
} from '@tarojs/components';
import './index.css';

const Double = (props) => {
  return (
    <View
      className='maskView'
      onClick={()=>{props.onClose && props.onClose()}}
    >
      <View className="modal_double">
        <View className="modal_double_info">
          <Image
            src='https://jala-test-images.sndaurl.cn/images/double.png'
            className="modal_double_info_img"
            mode='aspectFill'
          />
        </View>
        <View className="modal_double_title">合拍照片将放在“我的写真”</View>
        <View className="modal_double_desc">好友完成照片上传后，合拍照片将在</View>
        <View className="modal_double_tip">“首页-我的写真”查看</View>
        <View className="modal_double_action" onClick={()=>{props.onClick && props.onClick()}}>回到首页</View>
      </View>
    </View>
  )
}
export default Double;
